package define

const (
	RedisSystemApp      = "system:"       // 系统应用
	RedisSystemAdminApp = "system-admin:" // 系统后台应用
	RedisDeviceAdminApp = "device-admin:" // 设备后台应用

	MicoServiceKeyPrefix = RedisSystemApp + "micro-service:"     // 微服务前缀
	RedisAlarmNotifyLock = RedisSystemApp + "alarm-notify-lock:" // 告警通知锁，一分钟内相同告警静默
	RedisAlarmNotifyList = RedisSystemApp + "alarm-notify-list"  // 告警通知列表

	RedisAppVersion           = RedisSystemAdminApp + "app-version"             // 应用版本
	RedisUserLoginToken       = RedisSystemAdminApp + "user-login-token:"       // 用户登录token前缀
	RedisMerchantList         = RedisSystemAdminApp + "merchant-list"           // 商户列表
	RedisMerchantAPITokenList = RedisSystemAdminApp + "merchant-api-token-list" // 商户接口秘钥
	RedisCaptcha              = RedisSystemAdminApp + "captcha:"                //图形验证码

	RedisDeviceList = RedisDeviceAdminApp + "device-list" // 设备列表
)
